/*
 * Copyright (c) 2020, 2023, 3044483124@qq.com All rights reserved.
 *
 */
package web;

import Service.StudentService;
import Service.impl.StudentServiceimpl;
import org.junit.Test;
import pojo.Student;

import java.util.List;

/**
 * <p>Project: jdbc - StudentController
 * <p>Powered by jiangbo On 2023-02-14
 * 21:46:45
 * <p>Created by IntelliJ IDEA
 *
 * @author jiangbo [3044483124@qq.com]
 * @version 1.0
 * @since 8/17
 */
public class StudentController {
    private StudentService studentService=new StudentServiceimpl();
    @Test
    public void findAll(){
        //获取业务称对象
        List<Student> list = studentService.findAll();
        for (Student student : list) {
            System.out.println(student);
        }
    }


}


